All Questions
Tagged with javascriptphp
107 questions
1vote
2answers
465views
QR Code Scanning with location check
I would like to make an order-system with QR-Codes which is online. How I imagine it to work: A customer visits a restaurant. There is a QR-Code on his table which takes him to a public webpage where ...
3votes
4answers
3kviews
How to store a password so that it can be passed to another site/service which is expecting a plaintext input
I am developing a website and I would like to allow users to use XMPP for live chat. I would like users to have the option use an existing XMPP account if they wish and store their XMPP username and ...
3votes
4answers
1kviews
Do all dynamically typed languages not support function overloading?
I have noticed that JavaScript and PHP and Python do not support function overloading. Do all dynamically typed languages not support function overloading? If the answer is yes, then why is that?
34votes
9answers
14kviews
Is it good practice to echo PHP code into inline JS?
I'm new to PHP and JS and I'm currently working on a gym management web app for our project in school. I'm adding a bit of QR functionality that sees if the user is eligible to enter the gym or not by ...
-2votes
1answer
138views
Authentication solution for custom PHP-based API
Here is description of my app I'm working on. On the client-side (index.html) a user can interact with a data. When he needs to call a server operation for example reading or writing a file on the ...
2votes
0answers
72views
I'm trying to write something that will fill out an Australia Post Declaration Form [closed]
I've got basic proficiency in PHP, JavaScript, html, and SQL. I also use Postman little a bit. I hope a solution to my problem can be found within those skills, but I'm willing to learn a new language ...
-3votes
1answer
90views
Might be inheriting a php spagetti project. Full rewrite in different tech stack? [duplicate]
I'm in dire need of some help. My background is from python, js and ruby, with using frameworks to provide good structure. A potential client has an internal app which does quite a bit of stuff. This ...
1vote
1answer
127views
How could I optimize an AJAX-based site by avoiding unnecessary/duplicate file-reads for each AJAX call?
I'm an IT guy (read: not a professional programmer) and have made an internal monitoring webtool which allows users to search for printers on our print servers. Based on the filtering criteria given, ...
2votes
1answer
2kviews
How to update HTML/JS client from PHP server without refresh intervals?
I am building a simple client-side web page that can be updated from an admin page. I am using PHP for server-side manipulation of the client targeted page. The setup feels like an overkill to me: ...
0votes
2answers
164views
Allowing a user on one page to be able to cause an event on another
I would like to allow a set of users to be able to submit a form on one page, and then it would cause an event to trigger on another page. For example: Submit Page: Includes the form, the user ...
0votes
2answers
97views
Website Multi Languuage [closed]
I have one website and the website are now in HTML, that actually is structured: domain.com = English domain.com/es = Spanish domain.com/de = Germany I copied the HTML of English page to Spanish and ...
1vote
1answer
107views
Should this part of my web-app implemented on server-side or client-side?
I want to write an application which monitors a few URLs (like a couple hundred) of all branches of school. By monitoring, we mean that it sends requests to those URLs at regular intervals (Interval ...
0votes
1answer
105views
Should I print to the page from a javascript object, or only render from PHP?
I have a complex app on the Javascript/PHP/SQL stack which manages different domain objects. The Javascript layer contains classes which manage the data on the client side. I am currently baking a ...
-2votes
1answer
8kviews
How can I do to use Angular 5/6 for frontend and Codeigniter 3 for backend in the same web app?
I have this project I want to do, using Angular 5/6 for frontend and Codeigniter 3 for backend. The problem is that I don't know how to combine the two, and all the tutorials I looked were using ...
0votes
1answer
141views
Serialized Object Representation in Javascript from PHP
Let's say I have a Widget object that I serialize and send back to the browser at a regular interval. This Widget object includes lots of different members (variables) and other objects along with ...